const mongoose = require('mongoose')

const schema = new mongoose.Schema({
    name: { type: String },
    categories: [{ type: mongoose.SchemaTypes.ObjectId, ref: 'Category' }],
    introduce: { type: String },
    icon: { type: String },
})

module.exports = mongoose.model('Skill', schema)